Skip to main content

Tsg2DLine

Unit: DXFConv

Description​

The Tsg2DLine class defines 2D line entity.

Note

It serves for the auxiliary purposes.

Syntax​

Tsg2DLine = class (Tsg2DCurve)

Properties​

Derived from Tsg2DCurveDescription
CountThe property returns a quantity of the Tsg2DCurve object's points.
EdgeTypeThe property returns an edge type of the Tsg2DCurve object.
EndPointThe property returns the end point of the Tsg2DCurve object.
PointsThe property gets a point that belongs to the Tsg2DCurve object by its index.
StartPointThe property returns the start point of the Tsg2DCurve object.

Methods​

MethodsDescription
SetEndPointThe method sets end point of line.
SetStartPointThe method sets start point of line.
IsEdgeEqualThe method checks if this Tsg2DLine object and the Tsg2DCurve object passed as a parameter are equal.
Derived from Tsg2DCurveDescription
CreateCreates and initializes a new instance of the object.